﻿// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.

namespace Masa.Framework.IntegrationTests.EventBus.Application.Queries;

public class CheckUserQueryValidator : AbstractValidator<CheckUserQuery>
{
    public CheckUserQueryValidator()
    {
        RuleFor(u => u.Name).NotNull().WithMessage("Name is required on CheckUserQuery");
    }
}
